package day1114_3;

public class W6 {
    public static void main(String[] args) {
        int  number=54;
        int n=2;
        do{
            if(number %n  ==0 ){
                System.out.println("不是素数");
                break;//结束循环
            }
            n++;
        }while( n<=number-1);

        if(n ==  number){
            System.out.println("是素数");
        }



    }
}
